<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
    <title>用户管理</title>
    <link type="text/css" href="${pageContext.request.contextPath}/static/bootstrap3/css/bootstrap.min.css" rel="stylesheet"/>
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/static/img/favicon.jpg" type="image/x-icon"/>
</head>
<body>
<table class="table table-hover" >
    <thead>
    <tr>
        <th>编号</th>
        <th>用户名</th>
        <th>真实姓名</th>
        <th>角色</th>
        <th>操作</th>
    </tr>
    </thead>
    <c:forEach items="${users}" var="user" varStatus="uuu">
        <tr>
            <th scope="row">${uuu.count}</th>
            <td>${user.username}</td>
            <td>${user.name}</td>
            <td>${user.role}</td>
            <td>
                <a href="${pageContext.request.contextPath}/delete?id=${user.id}">删除</a>
            </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
